package org.qs.webservice.vo;

import org.qs.webservice.util.StringUtils;


/**
 * 用户操作日志
 * @ClassName: UsLog 
 * @author xusaike 
 * @date 2015年10月28日 下午1:47:15 
 *
 */
public class UsLog {
	private String url;
	
	//基础数据
	private String host;
	private String connection;
	private String cache_control;
	private String accept;
	private String upgrade_insecure_requests;
	private String user_agent;
	private String accept_encoding;
	private String accept_language;
	private String requestType;
	//跨域字段
	private String access_control_request_method;
	
	//自定义数据
	private String token;
	private String info_model;
	private String info_imsi;
	private String info_vcode;
	private String info_imei;
	//门户类型1：安卓      2：ios 3:ImreadH5 4:其他
	private String info_platform;
	private String curtime;
	private String referer;
	private String info_packagename;
	private String info_userid;
	private String info_version;
	private String info_channel;
	private String info_os;
	private String info_uuid;
	private String widthheight;
	private String info_clientid;
	private String info_appid;
	//对端ip
	private String x_real_ip;
	
	public String getInfo_model() {
		if(StringUtils.isNullOrEmpty(info_model)){
			return "";
		}
		return info_model;
	}
	public void setInfo_model(String info_model) {
		this.info_model = info_model;
	}
	public String getInfo_imsi() {
		if(StringUtils.isNullOrEmpty(info_imsi)){
			return "";
		}
		return info_imsi;
	}
	public void setInfo_imsi(String info_imsi) {
		this.info_imsi = info_imsi;
	}
	public String getInfo_vcode() {
		if(StringUtils.isNullOrEmpty(info_vcode)){
			return "0";
		}
		return info_vcode;
	}
	public void setInfo_vcode(String info_vcode) {
		this.info_vcode = info_vcode;
	}
	public String getInfo_imei() {
		if(StringUtils.isNullOrEmpty(info_imei)){
			return "";
		}
		return info_imei;
	}
	public void setInfo_imei(String info_imei) {
		this.info_imei = info_imei;
	}
	public String getInfo_platform() {
		if(StringUtils.isNullOrEmpty(info_platform)){
			return "";
		}
		return info_platform;
	}
	public void setInfo_platform(String info_platform) {
		this.info_platform = info_platform;
	}
	public String getCurtime() {
		if(StringUtils.isNullOrEmpty(curtime)){
			return "";
		}
		return curtime;
	}
	public void setCurtime(String curtime) {
		this.curtime = curtime;
	}
	public String getReferer() {
		if(StringUtils.isNullOrEmpty(referer)){
			return "";
		}
		return referer;
	}
	public void setReferer(String referer) {
		this.referer = referer;
	}
	public String getInfo_userid() {
		if(StringUtils.isNullOrEmpty(info_userid)){
			return "";
		}
		return info_userid;
	}
	public void setInfo_userid(String info_userid) {
		this.info_userid = info_userid;
	}
	public String getInfo_version() {
		if(StringUtils.isNullOrEmpty(info_version)){
			return "";
		}
		return info_version;
	}
	public void setInfo_version(String info_version) {
		this.info_version = info_version;
	}
	public String getInfo_channel() {
		if(StringUtils.isNullOrEmpty(info_channel)){
			return "";
		}
		return info_channel;
	}
	public void setInfo_channel(String info_channel) {
		this.info_channel = info_channel;
	}
	public String getInfo_os() {
		if(StringUtils.isNullOrEmpty(info_os)){
			return "";
		}
		return info_os;
	}
	public void setInfo_os(String info_os) {
		this.info_os = info_os;
	}
	public String getInfo_uuid() {
		if(StringUtils.isNullOrEmpty(info_uuid)){
			return "";
		}
		return info_uuid;
	}
	public void setInfo_uuid(String info_uuid) {
		this.info_uuid = info_uuid;
	}
	public String getWidthheight() {
		if(StringUtils.isNullOrEmpty(widthheight)){
			return "";
		}
		return widthheight;
	}
	public void setWidthheight(String widthheight) {
		this.widthheight = widthheight;
	}
	public String getHost() {
		if(StringUtils.isNullOrEmpty(host)){
			return "";
		}
		return host;
	}
	public void setHost(String host) {
		this.host = host;
	}
	public String getConnection() {
		if(StringUtils.isNullOrEmpty(connection)){
			return "";
		}
		return connection;
	}
	public void setConnection(String connection) {
		this.connection = connection;
	}
	public String getCache_control() {
		if(StringUtils.isNullOrEmpty(cache_control)){
			return "";
		}
		return cache_control;
	}
	public void setCache_control(String cache_control) {
		this.cache_control = cache_control;
	}
	public String getAccept() {
		if(StringUtils.isNullOrEmpty(accept)){
			return "";
		}
		return accept;
	}
	public void setAccept(String accept) {
		this.accept = accept;
	}
	public String getUpgrade_insecure_requests() {
		if(StringUtils.isNullOrEmpty(upgrade_insecure_requests)){
			return "";
		}
		return upgrade_insecure_requests;
	}
	public void setUpgrade_insecure_requests(String upgrade_insecure_requests) {
		this.upgrade_insecure_requests = upgrade_insecure_requests;
	}
	public String getUser_agent() {
		if(StringUtils.isNullOrEmpty(user_agent)){
			return "";
		}
		return user_agent;
	}
	public void setUser_agent(String user_agent) {
		this.user_agent = user_agent;
	}
	public String getAccept_encoding() {
		if(StringUtils.isNullOrEmpty(accept_encoding)){
			return "";
		}
		return accept_encoding;
	}
	public void setAccept_encoding(String accept_encoding) {
		this.accept_encoding = accept_encoding;
	}
	public String getAccept_language() {
		if(StringUtils.isNullOrEmpty(accept_language)){
			return "";
		}
		return accept_language;
	}
	public void setAccept_language(String accept_language) {
		this.accept_language = accept_language;
	}
	public String getUrl() {
		if(StringUtils.isNullOrEmpty(url)){
			return "";
		}
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getToken() {
		if(StringUtils.isNullOrEmpty(token)){
			return "";
		}
		return token;
	}
	public void setToken(String token) {
		this.token = token;
	}
	public String getRequestType() {
		if(StringUtils.isNullOrEmpty(requestType)){
			return "";
		}
		return requestType;
	}
	public void setRequestType(String requestType) {
		this.requestType = requestType;
	}
	public String getInfo_clientid() {
		if(StringUtils.isNullOrEmpty(info_clientid)){
			return "";
		}
		return info_clientid;
	}
	public void setInfo_clientid(String info_clientid) {
		this.info_clientid = info_clientid;
	}
	public String getX_real_ip() {
		if(StringUtils.isNullOrEmpty(x_real_ip)){
			return "";
		}
		return x_real_ip;
	}
	public void setX_real_ip(String x_real_ip) {
		this.x_real_ip = x_real_ip;
	}
	public String getAccess_control_request_method() {
		if(StringUtils.isNullOrEmpty(access_control_request_method)){
			return "";
		}
		return access_control_request_method;
	}
	public void setAccess_control_request_method(
			String access_control_request_method) {
		this.access_control_request_method = access_control_request_method;
	}
	public String getInfo_appid() {
		if(StringUtils.isNullOrEmpty(info_appid)){
			return "";
		}
		return info_appid;
	}
	public void setInfo_appid(String info_appid) {
		this.info_appid = info_appid;
	}
	public String getInfo_packagename() {
		if(StringUtils.isNullOrEmpty(info_packagename)){
			return "";
		}
		return info_packagename;
	}
	public void setInfo_packagename(String info_packagename) {
		this.info_packagename = info_packagename;
	}
	
}
